#pragma once
#include "afxsock.h"


class CmyGoDlg;

class CNewSocket :
    public CSocket
{
public:
    CNewSocket(void);
    virtual ~CNewSocket(void);

//overrides
public:
    int m_status;
    void GetDlg(CmyGoDlg *dlg);
    CmyGoDlg *m_dlg;
public:
    virtual void OnAccept(int nErrorCode);
    virtual void OnReceive(int nErrorCode);
    virtual void OnClose(int nErrorCode);
};
